package com.tianyiyan.hibernate.user;

import java.util.Date;

public class EmailVerification
{
	private Integer id;
	private User user;
	/// @brief Unique Code
	private String code;
	/// @brief Verification Deadline
	private Date deadline;
	
	public Integer getId() {
		return id;
	}
	public void setId(Integer id) {
		this.id = id;
	}
	public User getUser() {
		return user;
	}
	public void setUser(User user) {
		this.user = user;
	}
	public String getCode() {
		return code;
	}
	public void setCode(String code) {
		this.code = code;
	}
	public Date getDeadline() {
		return deadline;
	}
	public void setDeadline(Date deadline) {
		this.deadline = deadline;
	}
}
